<template>
	<view class="team-list">
		<view class="team-item" v-for="(item,index) in list" :key="index">
			<image class="team-item-iamge" :src="item.avatar" mode=""></image>
			<view class="team-item-view">
				<view style="margin-bottom: 10rpx;">{{item.real_name}}</view>
				<view>{{item.mobile}}</view>
			</view>
			<view class="team-status team-active">{{item.product_id==0?'未激活':'已激活'}}</view>
		</view>
	</view>
</template>

<script>
	export default{
		props:{
			list:Array
		},
		data(){
			return{
				
			}
		}
	}
</script>

<style lang="scss">
	.team-list {
		padding: 30rpx;
		margin-top: 30rpx;
	}
	
	.team-item {
		display: flex;
		align-items: center;
		justify-content: space-between;
		background-color: #FFF0CA;
		border-radius: 20rpx;
		padding: 20rpx;
		margin-bottom: 30rpx;
	
		.team-item-iamge {
			width: 90rpx;
			height: 90rpx;
			border-radius: 50%;
			margin-right: 20rpx;
			flex-shrink: 0;
		}
	
		.team-item-view {
			flex: 1;
		}
	
		.team-status {
			// width: 80rpx;
			font-size: 14px;
		}
		.team-isactive{
			color: #CDCDCD;
		}
		.team-active{
			color:#F37F02;
		}
	}
</style>